<template>
    <div>

      <myheader></myheader>

      <br /><br />

              <!--面包屑导航-->
              <Breadcrumb :datas="datas" ></Breadcrumb>



      <section class="featured-block text-center">
          <div class="container">


              <table>

                      <tr>
                          <td style="padding:5px;">


                          </td>
                          <td style="padding:5px;">


                          </td>
                      </tr>



              </table>



          </div>
      </section>





      <footer class="footer">

          <div class="container">
              @v3u.cn
          </div>


      </footer>

    </div>

  </template>



  <script>

  //导包
  import myheader from './myheader.vue';

  export default {
    data () {
      return {
        msg: "这是一个变量",
        //声明面包屑变量
        datas:[{title:'首页',route:{name:'index'}},{title:'商品检索'}],
        word: '',
      }
    },
    //注册组件标签
    components:{

            'myheader':myheader

    },
    mounted:function(){

        // 接收参数
        var word = this.$route.query.word;
        this.word = word;
        console.log(this.word)

  },
    methods:{
        //提交注册
        submit:function(){



            //发送请求
            this.axios.get('http://localhost:8000/register/',{params:{username:this.username,password:this.password,code:this.code}}).then((result) =>{

                            console.log(result);
                            this.$Message(result.data.message);

            });



        }


    }
  }


  </script>

  <style>



  </style>
